package com.juyu.reader.pc.dao;

import java.util.List;

import com.juyu.reader.pc.model.User;

public interface UserDao {

	public List<User> loginUser(User user);

	public List<User> loginUserByUnionId(User user);

	public List<User> loginUserByOpenId(User user);

	public List<User> validateUser(User user);

	public List<User> validateUserByUnionId(User user);

	public List<User> validateUserByOpenId(User user);

	public List<User> findUserById(int userId);

	public int insertUser(User user);

	public int updateUserGold(User user);

	public int updateUserPayGold(User user);

	public int updateUserPassword(User user);

	public int updateUserInfo(User user);

	public int resetUserPassword(User user);
}
